#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int my_strlen(char *ch)
{
	int i = 0;
	int sum = 0;
	while (*ch!='\0')
	{
		*ch++;
		sum++;
	}
	return sum;
}

int main()
{
	int n = 0;
	char ch[80] = "\0";
	gets(ch);
	n = my_strlen(ch);
	printf("%d\n", n);
	return 0;
}